package com.varian.system.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author ben
 * @since 2024/11/19
 */
@Data
@Schema(title = "部门数据对象")
public class SysDeptDTO {
    @Schema(title = "父级部门")
    private Long parentId;
    @Schema(title = "部门名称")
    @NotBlank(message = "部门名称不能为空")
    private String deptName;
    @Schema(title = "部门编码")
    @NotBlank(message = "部门编码不能为空")
    private String deptCode;
    @Schema(title = "部门状态")
    private Integer deptStatus;
    @Schema(title = "排序")
    private Integer deptWeight;
}
